package com.pojo;


import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentDao {
    List<Student>  getAllStudent();
    Student  getStudent(Student Student);
    Student  getStudentById(int id);
    void updateStudent(Student student);
    void deleteStudent(Student student);
    void addStudent(Student student);
    void deleteAll(List<Student> studentList);
}
